package com.music.service;

import com.music.common.BaseResult;
import com.music.entity.CmUser;
import com.music.entity.req.CmUserReq;
import com.music.entity.req.CmVipReq;
import com.music.entity.req.VipTime;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;

/**
 * 2 * @Author: 刘佳乐 :面向百度编程
 * 3 * @Date: 2020/12/13 14:28
 * 4
 */
public interface CmUserService {
    BaseResult findAll();

    BaseResult findByTel(String uTel);

    BaseResult findByuID(Integer uId);

    BaseResult sendCode(String uTel);

    BaseResult registry(CmUserReq cmUserReq);

    BaseResult login(CmUser cmUser);

    BaseResult updatestatus(Integer uId, Integer month);

    BaseResult buyVip(CmVipReq cmVipReq);

    BaseResult deletestatus(Integer uId);

    BaseResult updatepass(CmUser cmUser);

    BaseResult finAllByFriend();

    BaseResult updatemyhomepage(CmUser cmUser);
}
